//Array
Object.defineProperty(Array.prototype, 'lastItem', {
    'get':function () {
        return this[this.length - 1];
    }
});

Object.defineProperty(Object.prototype, 'mix', {
    'get':function () {
        var _me = this;
        return function () {
            var args = Array.prototype.slice.call(arguments, 0);
            args.forEach(function (obj) {
                Object.keys(obj).forEach(function (key) {
                    _me[key] = obj[key];
                });
            });
            return this;
        };
    }
});